// #ifndef VUE3

import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import App from './App'

// 第三方请求库
// import { $http } from '@escook/request-miniprogram'

// uni.$http = $http
// $http.baseUrl = 'https://mock.mengxuegu.com/mock/634a093fba6bdb4f54a8652d/domesticplatform'

import { $http } from '@escook/request-miniprogram'

uni.$http = $http
// 配置请求根路径
$http.baseUrl = 'https://mock.mengxuegu.com'
// =======
// >>>>>>> personalData
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
  createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp () {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
